Remove test code from app delegate (osx)