Moved setAccessible method call up a little bit to make sure it works out.
Created a test class for advanced uses.
Added test.xml to the gitignore file.