test: overlay: Add unit test for stacked overlay