Add controller tests.
fixed #25
Add error messages.