wrote some tests and setup testing dir structure