Fix tests and raise exception if a non parameter modifier is supplied with an argument.