Decorator utils tests

I've added tests around partial functions being decorated as well as just regular tests around the new utils functions.