add test and add DefaultShard class