Add test for duplicate routines