Exclude test code

Exclude test code in testpy directory