small test refactoring which fixes some failures on OSX
small test refactoring which fixes some failures on OSX

zhengzheng/psutil,shiva21/psutil,chjwang/psutil,end18/psutil,shiva21/psutil,peter-hst/psutil,vmolsa/psutil,google-code-export/psutil,end18/psutil,skyshe/psutil,creativewild/psutil,anfedorov/psutil,anfedorov/psutil,tigerneil/psutil,skyshe/psutil,kiranvizru/psutil,creativewild/psutil,jucapj/psutil,nmani1905/psutil,chjwang/psutil,marmolu/psutil,kiranvizru/psutil,stupidcache/psutil,tigerneil/psutil,AlanZatarain/psutil,AlanZatarain/psutil,end18/psutil,zhengzheng/psutil,kiranvizru/psutil,nmani1905/psutil,end18/psutil,vmolsa/psutil,marmolu/psutil,creativewild/psutil,Alwnikrotikz/psutil,google-code-export/psutil,peter-hst/psutil,tigerneil/psutil,Alwnikrotikz/psutil,djhaskin987/psutil,tigerneil/psutil,PFZheng/psutil,vmolsa/psutil,djhaskin987/psutil,google-code-export/psutil,vmolsa/psutil,skyshe/psutil,stupidcache/psutil,skyshe/psutil,google-code-export/psutil,PFZheng/psutil,huson2012/psutil,djhaskin987/psutil,djhaskin987/psutil,huson2012/psutil,huson2012/psutil,stupidcache/psutil,jucapj/psutil,kiranvizru/psutil