merge two tests into one