Fix lift.type assignment in user.create-routine and add relevant tests.
WIP: user.routines