added test ReST API based on Flask microframework