FLEX-34807
Added unit test to make sure the bug is not present.
Also corrected some comments and added semi-colons at the end of lines.
5 files changed