Improve test coverage for onDecl()
Improve test coverage for onDecl()

Sometimes the *ast.ValueSpec type cast is not succesful. Prove it, also
avoiding future panics if we ever remove the ok check.

mvdan/interfacer