Converting test to use an explicitly defined corpus