Added tests and added better handling for when bundler isn't installed