Add contexts to tests.
Remove special case for no associated records.
Extract a HasStreak::Streak class.
Merge pull request #2 from georgebrock/refactoring

Refactoring