fix appl. added test