fixing issue building release package with test dependencies