Moved functional tests into their own individual files