Add log function and bundler logging
Fix installation; better tests