Stubbing out file and adding more meaningful basic test.