Adding test and CI infrastructure

Signed-off-by: Alan Gardner <urfolomeus@gmail.com>