Adds tests for the layer filtering system.