moved test to load a file instead of just content