add test to reproduce _not method bug and fix it