#253 added REST API test