added unint testing for DataReader class