fixed test, return error on 404