fix setup and test for minimal projects