Fix indentation.
Add test for close-to-beat behavior in BeatGrid.