BUG: fix Testing with python on linux and pop ups on mac/win

fixes #7