Added support for extra test configurations

This change allows to add extra test configurations (for example load tests) so that the generated IDEA modules have correctly marked test source directories.