update of test files after changing classname A::B to A\B and added dash to declarations when there is no value, for instance php+class///-/Class1 when having no namespace
fix bug in resolving dirname