added some first tests for issue api