implemented testing of basic functionality