#1 method for value and data type testing