added some missing tests for issue API