Checking expected output