Renamed the unit test class with post fix "UnitTests"

Added the unit tests for factory classes