learns to test in local first