fix test to work under bundler