began to write tests