write a test containing a dependancy