Testing Flask for writing REST API web service