Test the secret model using an in memory database

Change-Id: I474e9707ef90d1bc2c28b44501fcf8b2f5f1f218
Merge "Test the secret model using an in memory database"