A note on a specification test of independence