Fix expected number of components (one test task is now using jsr330 instead of plexus) and use test utils to get "target/test-classes" dir

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>