#15 writing tests.