Collect if var in main function
Remove old test
Use the new command
Move dependencies to require-dev