Fixed problem noted in DAWNSCI-777 caused by Jython coercion hassles
Fixed bug in take method and added more tests