Add new unit tests for CPView