Add test for static java objects as js properties.