added remaining spec tests for client class and new spec tests for node class