Action is passed to callbacks

Also updated tests and README