Add tests to database