cleaned up LayoutSingleTable and added tests
Merge pull request #48 from timbokopter/feature/cleanup_LayoutSingleTable

cleaned up LayoutSingleTable and added tests