goal test and threshold test running