move table and graph controller specs to common