Updated test app (courtesy of nodeleaf).