Added the test for getValues() method