Refactoring tests so that the accept cases are separated into two different tests