Fixed failing tests

Signed-off-by: Simon Bailey <simon@newtriks.com>