Changing expected format for tests.
adding sample index view test.