Closes #1 Tests for rank model