Test Cases
Adding both unit test and integration test for persistence layer

Change-Id: I06b495e14a1c50521ae3c5d67aa97d88a7bbc73c