Restructure tests to allow for configuration, just put url/token in config.php