Add a keystore file

for testing..
add unit tests for request namespace
fix request funcs to comply with unit tests