added test for return diff types in actions