whitespace fixes

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
do not re-create app, inject scope

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
add some sample tests

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>