added more thorough fromJSON testing