table factory working, passing findById test