funtional tests work