updated test app
fixed variable naming