rec unit tests