Tiny refactoring on addon tests
Change column addon_id and plan_id to name
Created table app_addon to save resource info