ironed out all the errors in signature unit test