Fixed functional test