Adds fifth test with refactor