restrict the test rake task for test and dev