fix constructors of atomic and collection value
add modules utils and testing

Extract utility and testing classes into respective modules.