Added test for traitlet notify by-ref fix