created some tests, created validation for reaction parameters.