Fixed bug in NUnit test for client creation