Set up harmony tests for populate + promises, fix #2317