Improve tests for Action::exists

Change-Id: I905fd8e88ff625cd88c672ddac7a5ac4f4a94b36