Return signature instead of complete xml
Fix verify and the test cases