Get locals working in all contexts
Add travis
Add missing test