Built testing infrastructure

Not sure if it helps anything.