assert.implemented: explicitly throw if subject or interface are undefined

+ simplify test for core.main