Test check xxx

Minor rewrite to allow the test string equal and test double equal functions to be called as checks without exiting.