Vid 1338

JS unit tests for titleThumbnail view. 
added a couple more tests.