Made test fail on exception in control method

Fixes #17.