Test promises basics in autotest