Fix not thrown exception when no initializer implemented.

We recently encountered a bug because the initializers are not called as desired. After tracing Routable, I found that there are some codes designed to throw an exception when no initializers are implemented but there's a bug in that.

So I made this pull request to fix it. I also added a test case to reproduce the problem. 

Please help review, thanks! :+1: