Create AccountFactoryTest.java

Adding new test file.