fixed a bug where the close button failed to work

also added mocks and updated specs
updated hipchat mock
updated gemfile