Add test case 7 and allow None salt