fixed extension, added tests
added test for bitwise Not