Added tests for thumbnail modal