Added test case

Added nominal test case for getValue().