PyBoxLib: Update and add test.

Added a test and it is working on my Mac.