added verification to the test