Removed hard-coded value for test mode