Fixes local_tests