Modify test_copy to allow y to not be provided

Details:
 - Functionality of not providing y is now being tested