fix tests after changing types to scala
uncomment for now (will redo later)
add alias for transform -> map, remove apply