CR changes: changed getVal() to getInt() and fixed tests