Added auto-closing

Hi! It's my first pull request, please be gentle with me... :-)
These tests were admittedly awful before, but "with two arguments" is quite unclear. Maybe `it "should accept a printer name and a close boolean"` or something?