Fixed error with not checking if stest was set