created test suite. moved tests into ts