Move tests into test directory and fix tests when nucmer not found