Added tests for all promise implemetations.