fix comment
extract test result check to a method