Simple tests and implementation for numbers in stub return values.