Added firmware password test for OS X and fixed some tests