Add missing test for invalid ranks
Merge pull request #9 from wmde/rankcheck

Add missing test for invalid ranks