Added unit test, fixed workspace property issue

Refs #10092