USE a more elegant option which will detect TESTING