added negative test cases for .is() method