Update lightbox test from unit to integration

This changes a lightbox unit test which was making sure that a dependent library (history.js) was present into a proper integration test which tests the actual method which is using the history.js library.