Adding the tests

Signed-off-by: Adrian Stainforth <adrians@spinnakerdirect.co.uk>