added test for appserver_redefine