Fixed bug: if you only have one module and disable it, CP raises an exception
issue #757 set Pipeline.test_mode before requesting validation