Add queue tests for empty, full, put_nowait, and get_nowait.
Add queue tests for empty, full, put_nowait, and get_nowait.

Closes issue 9357. Thanks to Brian Brazil for the patch.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator