added view unit tests
minor line characters change
minor coding style change
added system unit tests