simple equality replace by MatchNames
removed match and count: prototypes, added server tests
added server tests file