Fix bundle test which was broken by #8

In PR #8 I made changes to the bundle test so it runs the test for a given file. What I failed to do was just that… Hence it ran the same bundle test twice.

This patch fixes that and runs the test based on the file input.

Sorry about that.