ticket:3
1. Added class for testing InMemory database.
2. Performed testing of different manipulations with database.