function and status testing