Added basic tests.
Version 1.0.2.