Fix calling 'plan' twice
Merge pull request #4 from syohex/fix_test

Fixes non-mac bug where 'plan' is called twice