Added malformed offset tests