tests: add clip() test; failing now for non-floats
Fixed wrong translation of clip() with vector arguments