applied changed db_name to controller and test