Fix test on auxiliary secret

+ improve code readability
Status Job ID Name Coverage
  External
failed jenkins

00:00:22

failed jenkins(Centos7)

00:00:05

canceled jenkins(Debian8)

00:00:08

canceled jenkins(Mac)

00:00:11

failed jenkins

00:00:49

failed jenkins

00:00:25

failed jenkins

00:00:21

failed jenkins

00:00:21

failed jenkins

00:00:21

failed jenkins

00:00:25

failed jenkins(Centos7)

00:00:06

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:05

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:08

failed jenkins(Centos7)

00:00:05

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:04

failed jenkins(Centos7)

00:00:05

canceled jenkins(Debian8)

00:00:11

canceled jenkins(Debian8)

00:00:09

canceled jenkins(Debian8)

00:00:24

canceled jenkins(Debian8)

00:00:12

canceled jenkins(Debian8)

00:00:07

canceled jenkins(Debian8)

00:00:00

canceled jenkins(Mac)

00:00:12

canceled jenkins(Mac)

00:00:11

canceled jenkins(Mac)

00:00:09

canceled jenkins(Mac)

00:00:11

canceled jenkins(Mac)

00:00:09