created basic test for Community and few fixes