Revert "Added tests. Also bringing over sample, subsample, chemical analysis APIs from other repository."

This reverts commit 2ef3137f5f67f20d7432497b1a3943b6653f2580.