added more layout test specs
remove unused inline method
expose more layout method