added fist functional test ( not working )