testability, almost finished for database
database tests complete
middleware tests