add functional test and alias