Add test program for Mac issues