Added test for check of invalid configurations