added tests for constant and variable signing