Fix tests not to rely on hardcoded paths
Scalac extractors cleanup
Introduce compilation units