Added view resolver unit tests.