fixes test for maven and use package