more tests. improved project factory.