Fix applications unit test