Add very basic functional test