Added test code for user friendships also generated views