added tests and first methods for signature