Basic test.
TODO: create unit tests.