Unit Tests

- Added unit tests for tw-1430.t.

Signed-off-by: Paul Beckingham <paul@beckingham.net>