tidies up tests and now checks if config property is set