correctly setup packages and tests