Unit-tests for crud operations