Removed redundant null check.
Primitive double cannot be null.
More/extended core api tests