Refactoring and fixing bugs in WC_Customer Unit Tests