Change build to separate launch of unit tests and functional tests