moved tests into test directory