Add some tests for advance gaps