Code formatting tweaks.
Expanded unit tests for Gap class.