clean style-up in tests, test against empty array not string in cp()