updated tests, trying to correctly handle param extraction