fixed comment, implemented tests for colnames and dates
core function implemented
inner constructor tests added
core function test added