refactor and full coverage on question model - jasmine