This PR does 3 things: adds array parameter unmarshalling extend Param with convenient methods refactor tests into using tables to make it easier add new tests (part of #347 solution)