Further improved tests for posts controller