basic tests added for abstract design patterns