nose tests for py