resolved exception handling in feed and added test