Fix test app bug