add tests into package