updated test file
function renders  properly