Added second round of secrets functional tests

This is the second round of functional tests for secrets.

Change-Id: Ic9e640a2a0b419115bd4957d36bd09ba93dfc9c7