[TEST] Adds tests for and extends interfaces to set dynamic gaps from outside.