add shape function test to ctest