rk: fix constants scope to allow for monkeypatching
Start adding webapp tests