Basic one dimensional dyamic time warping working with tests