Fixed null pointer using ValueAnimator ofInt

Robolectric tests on code using ValueAnimator were crashing due to a
null pointer when ValueAnimator.ofInt was used to initialise instance.

Updated shadow method to pass the int values to the value animator
returned and add simple test to verify end result matches passed in
value.