Added controller tests

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