unit test for verification