Add test for frsp

Might be good to have a small summary in front of this function explaining what this does and eventual special cases that need to be taken care of.