Tests for createAction updated accordingly to new behavior