Add test for Alift with threadsafe option