Implemented an helper to deal with configuration files
Replaced test configuration with placeholders
Moved common test code to a shared superclass.