written 10 unit tests