Added missing tests of some factories