Add unit tests on Application