Changed status code when database file doesn't exist; changed tests to match.