Enable to run tests

Hi.

I fixed some problems to run tests, though they fail.
By the way, I intend to fix some more issues, so I want to hear your plans about this project if you have.

Thank you for your efforts.