Per issue #12. Adding some asserts into the test.