Added tests for doEntryAction