test that setup is called on load