Added composer and fixed broken tests.