Testing for days

Fixed the RFIS function and added a few properties that are tested. So
far so good!