First unit test for Sign()
Code cleanup