ranks tests added. bug fix.

Bug fix in pair, two pairs, three and full house. Tests refactored to
use parameterized tests.