Added unit tests for some vc helpers.