Adding EKF test and updating the way masks are applied to messages with partial data