Fix grant test