Move tests into test/ subdirectory.