Added some tests to prove basic functionality.