started to write tests