answer practice 19.1.
add try-with-resource block.
add a custome matcher for Employee.