Move biosample document loading to test.