tests for Figure controller