fixed test packages and parameter parsing