renamed test_local to local_test