Move tests into `implementation`