Fix tests and compilation (mvn scope...)