handle calling the getLastReading method before calling getReading() by
returning NaN
add REST JUnit Tests