Tweak to make tests work under rake.