move tests into a separate /test/ directory