Implemented IsPowerOfTwo property. Added tests for Sign.