added function with extra params for restxq
typo fixes
updated test app