Change return value of getPosition to only return object; Change tests to reflect this change