Restructured unit tests

- use system's configuration to run the tests
- removed calls to methods::is