added tests for variations on content-type

updated tests to retrieve secret and verify that the correct data was stored.
Bug #1252453

Change-Id: If109119ffc3dd53f4c06aaf60a9ec499630fc101
Merge "added tests for variations on content-type"