TST: added test for GH #2759
     restored copy flag to astype