Added a new funcional test case