This page contains tests for the root shadows object and its functions. To see them, take a look at the source.