Needed unit tests for extension functions complete

fixes #18