Fixing the tests, adding the alias command and the prefect flag