CustomEvent detail test for CustomElements and HTMLImports

Fixed #59