Adding test for bug 1024
Adding case while github is not available

Deletion unused variable

Improve api tests

Deletion unused class

add new tests
Merge pull request #1085 from a-chumagin/master

Adding test for bug 1024