fix tests for action/index