Better tests with support for REM. Fixes #3

- [x] Fix toplevelrequire test
- [ ] Bump major version after merge

Fixes #3