added test for take and drop