[SHRINKWRAP-453] Added fix for calculating classpath with test cases.