Added a unit test for the sorting of the multiplier

Change-Id: If572a12da7e89e80d2e986035c57acff928aeaa8
Signed-off-by: John May <john.wilkinsonmay@gmail.com>