added functional tests for statements controller