add test for really using user function