Added thumbnail class. Failed to run test as we get an exception