fixed test namespaces
fixed issue with missing local variables of copied method