Added a --test-config flag which allows you to test your configuration file

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>