more tests and a fix for newsfeed