Added testing infrastructure
Started writing basic tests