making tests pass
fixed jasmin errors