avoid running specs twice in test environment