Content type identifier criterion

Hello. This is my try to add a ContentTypeIdentifier-criterion. 

As i'm saying in http://share.ez.no/forums/ez-publish-5-forum-formerly-known-as-new-php-api/running-tests-in-installations-with-symbolic-links, 

i'm having some problems to run test. finally i manage to run it hardcoding some paths. 
Hope it helps...