Fixed test helper, replaced hardcoded value with param