[ref] move tests in their own directory