Added restricted action example and test