Move functional test into integration directory