Writing the first proper test

Signed-off-by: Andrew Lowther <andy.lowther@mademedia.co.uk>