adds a test case for replace
adds support for automatic parent in setDefaultExpression and setAssignment
introduces a Spoon-specific exception
fixes broken test