Add testcase for read_apps