Added debug info, and added junit in lib directory