Fix native unit tests that use promises
Loosen up bool test