add tests for github deployment api