Tests to log in "dev mode" and to the console
Minor: indentation