area computation & simple tests