Added first bit of tests.