Fix off by one index error in tests.
Merge pull request #64 from sjudd/fix_off_by_one_test

Fix off by one index error in tests.