Added surface energy test.