make colwise deal correctly with replicated names
add test cases for colwise
Merge remote-tracking branch 'vitoshka/master' into develop