Added functional test for staging server.