exit when trying to use .test in a non-test env