rename getObj function to getObject so as not to confuse with the one in similar.js because jasmine confuses them