Added assertion to gallery tab test.