Add functional tests for application host

Follow @davidfowl 's suggestion here: https://github.com/aspnet/KRuntime/pull/808

add functional tests for `k` command to prevent any further regression.
rename this from `krePath`, that looks weird.