separated functional tests, started working on basic unit tests