fix early tests for promises