Fixed incorrect functional test