Unit and spec tests with corrections to code

Removed V3 enabled. All CP systems are V3 enabled without config entry.
Added core/socket spec tests and core/ram/socket spec tests.