Modified test file to follow code convention and logic correction. Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>