working unit test
working database unit tests