functional tests were added (from old repo)