Adding generic `post` function
`trigger` updated to use `post`
fixing test run command