Test for writing loosely coupled widgets while still being able to step through the code