Fixes obme when using instance variables
Updates .gitignore
Adds test suite