Adds tests for basic functions