Acceptance tests

Fixes #315.
param docs too