Mocking database to not to use it