Test for nested objects. I was not sure if scalas generates the MODULE$ field in this case.