dk/checkins tests

Add tests for checking into a habit from a habit's details page.