[GP,MH]{test before code} Add test case for ending checker