take empty interface instead of map[string]interface{} for request params, add some struct params to tests. Fixes #5.