Added tests.
Added test using OTPs.