Unit tests, enable db tests due to #2616