added tests for newly created functions