Move functional tests into the tests folder for better organization