Added unit test for computed properties