Fixed the failing content view tests in jenkins