Fixed tests to be working on the new implementation
Changed the implementation to work with Elixir for the DB