add tests for current, pending, etc, closes #38