Refactor action view extension tests