move tests into test/ subdirectory