Unit tests for zIndex option