Ensure that the 'action_discover' actually checks the entities count. Remove unnecessary steps from discover test.