Update duplicated Dojo test

I duplicated the test logic in two test cases, this PR should fix that.