Relax REXP equality checks to allow for subclasses
Fix expected test values to work when run using long doubles (fixes #9)