Add tests for granularity
Formatting