NUnit test created. All passed. Minor modifications based on the test result.