Unittest check and template