Functional tests unfinished