Adding tests for new client factory methods.