Allow test of defines without providing a params hash

Fixes #105 for me.