fixed functional behave_as test