is_test method is globally accessed