add a test for when there is a dependency that needs to be loaded