Test tools for unit testing when.java promises