Fix relp input and update spec

The spec are green when run separately, but I could not make them pass together.