Update note model tests to use factories.