Added test to check that an expired secret cannot be retrieved

Added a single test that creates and expires a secret.
The test then checks that secret can no longer be retrieved.

Change-Id: Iaf2a250f4f554509cdef1adf82ca1682a0047e0b
Merge "Added test to check that an expired secret cannot be retrieved"