Add usage tests.
Better check for numeric arguments.

The previous check would fail on arguments like '5m'.
Print usage for too many arguments.

This was elicited by the addition of usage tests.