Fixed factory/table.py for 2.6 format
Updates up to 95% coverage
factory_cls 100%
Merge pull request #243 from shermdog/unit-tests

Unit tests up to 96%