added basical functional tests