Unit Tests

- Updated test class to conform to coding standards.
- Implemented TAP.py to allow Python unit tests.