Implemented kestrel mock and its test

#98