add tests and small fixes for reaction create