refactor perform into test_now() makes code more readable