moved tests into test/ folder