Move tests for parsing signatures into separate test module