Fixed bugs with test projects