testing of assert check