Make pinOpener a private variable.

Requires putting the tests in the same package
Add pending tests for error handling
Add error handling to Active() method