Test Controller db