TEST: add unit tests for cmeans and cmeans-predict