added unit test for issue #19, removed deprecated function use in all tests that weren't testing said functions
added unit test for issue #19, removed deprecated function use in all tests that weren't testing said functions

jcuga/golongpoll,jcuga/golongpoll