added java mock ui; testing ui output