Add tests for bundler.py