tests for database proxy