Add more tests for /certificate/sign route