refactor quickparam tests with behavior