Overlay unit tests and functions