tested user entered correct parameter values and corresponding thrown Errors