Fix for out-of-date database schema in test