JUnit test adjusted to file extensions filtering feature.