Added tests for applications.
Started adding tests for the numbers api.