Tests done for basic functionality