Refactored test so that parametrized part is separated better and more explicit