tests: fixes tests that must raise exceptions

adds support for python<2.7
tests: adds tests for user_add
tests: adds tests for user_setup
tests: adds tests for user_del
tests: adds tests for service_put
tests: adds tests for service_get_tree