Use insertAt to insert background layers
Add tests for background component