event and file controller testing