Test with local classes - fails on temp class generation