added new tests to ts.jl