Add some (breaking) tests for optional parameters.

These tests are currently breaking, but show the issue I've hit.